import './assets/style/main.less'
import './assets/font_4391505_gvhsfukhu8d/iconfont.css'
// import './qiankunRegister'

import { createApp } from 'vue'
import pinia from '@/store'

import App from './App.vue'
import router from './router'
import axios from 'axios'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 图标并进行全局注册
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import print from 'vue3-print-nb'
import VueGridLayout from 'vue-grid-layout'

const app = createApp(App)

// 注册所有图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.config.globalProperties.$axios = axios

app.use(pinia)
app.use(router)
app.use(print)
app.use(ElementPlus)
app.use(VueGridLayout)
app.mount('#app')
